#cart-root {
    .cart-scroll {
        position: absolute;
        top: 44px;
        bottom: 98px;
        left: 0;
        right: 0;

    }

    .cart-item {
        width: 100%;
        border-bottom: 1px solid #ccc;
        background-color: #eee;
        padding-top: 10px;

        .item {
            padding: 0 10px;
            background-color: #fff;
            display: flex;

            .select {
                display: flex;
                align-items: center;
            }

            input {
                width: 18px;
                height: 18px;
            }

            .img img {
                width: 90px;
                height: 90px;
            }

            .info {
                flex: 1;
                display: flex;
                position: relative;
                flex-direction: column;
                padding: 5px 0;

                .title {
                    font-size: 14px;
                    min-height: 16px;
                    line-height: 16px;
                }

                .price {
                    flex: 1;
                    display: flex;
                    align-items: center;

                    span {
                        &:nth-child(1) {
                            color: red;
                            font-size: 14px;
                        }

                        &:nth-child(2) {
                            color: #999;
                            text-decoration: line-through;
                            margin: 5px;
                        }

                        &:nth-child(3) {
                            color: #7f7f7f;
                        }
                    }
                }

                .handle {
                    position: absolute;
                    bottom: 4px;
                    right: 0;

                    .disabled {
                        border: 1PX solid #ccc;
                    }

                    span {
                        display: inline-block;
                        text-align: center;
                        border: 1px solid #999;
                        line-height: 30px;
                        width: 30px;
                        height: 30px;

                        &:nth-child(2) {
                            width: 60px;
                        }
                    }
                }
            }

            .selected-list {

                display: flex;
                height: 16px;
                line-height: 16px;

                margin-top: 5px;

                li {
                    margin-right: 5px;
                    // &:nth-last-child(){
                    //     border: 1px solid #ccc;
                    // }
                }

                .iconfont {
                    font-size: 12px;
                }
            }
        }
    }

    .cart-bar {
        position: absolute;
        bottom: 49px;
        left: 0;
        width: 100%;
        height: 49px;
        background-color: #fff;
        border-top: 1px solid #ccc;
        display: flex;
        align-items: center;
        justify-content: space-around;

        input {
            width: 18px;
            height: 18px;
        }

        .count {
            font-size: 12px;
            color: #7f7f7f;
        }

        .price {
            display: flex;
            flex-direction: column;
            justify-content: space-around;

            span {
                &:nth-child(1) {
                    color: #dd1A21;
                    font-size: 14px;
                    margin-right: 5px;
                }

                &:nth-child(2) {
                    padding-left: 6px;
                    color: #7f7f7f;
                    font-size: 12px;
                }
            }
        }

        .submit {
            width: 80px;
            height: 30px;
            border-radius: 8px;
            background-color: #dd1A21;
            display: flex;
            justify-content: center;
            align-items: center;

            button {
                background-color: transparent;
                border: none;
                color: #fff;
                font-size: 14px;
            }
        }
    }
}

.handle-modal {
    position: absolute;
    top: 50%;
    left: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 150px;
    z-index: 100;
    box-shadow: 5px 5px 15px #aaa;

    .handle-warp {
        width: 200px;
        height: 150px;
        background-color: #fff;
        border-radius: 10px;
        padding: 10px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;

        .title {
            text-align: center;
            font-size: 16px;
        }

        .text {
            height: 30px;
            padding: 0 5px;

            h3 {
                font-size: 16px;

                span {
                    margin-left: 15px;
                    color: red;
                    font-size: 16px;

                }
            }

            input {
                padding-left: 10px;
                width: 100%;
                border: 1px solid #999;
                outline: none;
                line-height: 30px;
                font-size: 20px;
            }
        }

        .handle {
            button {
                font-size: 14px;
                padding: 4px;
            }
        }

        .btn {
            display: flex;

            button {
                width: 50%;
                background-color: transparent;
                border: none;
                height: 30px;
                display: flex;
                justify-content: flex-start;
                align-items: center;
                padding-left: 15px;

                &:nth-child(2) {
                    justify-content: flex-end;
                    padding-right: 15px;

                }

                span {
                    padding: 5px;
                    border: 1px solid #999;
                    border-radius: 8px;
                }
            }

        }
    }
}